package com.itheima.feign;

import com.itheima.dto.OrdersStatisticsDto;
import com.itheima.vo.UserReportVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "sky-users")
public interface UserClient {

    @GetMapping("/user/user/userStatistics")
    public UserReportVO userStatistics(OrdersStatisticsDto statisticsDto);
//
//    @GetMapping("/user/user/getNewUser")
//    public Integer getNewUser(LocalDateTime begin, LocalDateTime end);

    @GetMapping("/user/user/selectCount")
    public Integer selectCount();
}
